<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Up_uid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select  id="c-up_uid" class="form-control" name="row[up_uid]">
                {foreach $user as $v}
                <option value="{$v.user_id}">{$v.user_name}</option>
                {/foreach}
            </select>
         
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('V_money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-v_money" class="form-control" name="row[v_money]" type="text">
        </div>
    </div>

    <div style="width:66.5%;margin:1rem auto;" class="alert alert-success" role="alert">
       <b> 金額为范围输入,  格式:<b> 1/2 </b></b>   &nbsp;&nbsp;&nbsp;&nbsp;  (随机1元到2元的金额.包含2位随机小数)
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">试看时间(秒):</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-v_down_num" class="form-control" name="row[v_down_num]" type="number">
        </div>
    </div>

    <div class="form-group">
        <label for="c-v_src" class="control-label col-xs-12 col-sm-2">{:__('Upload')}:</label>
        <div class="col-xs-12 col-sm-8">
         
            <input id="c-v_src" class="form-control" name="row[v_src]" type="text">
        </div>
    </div>

  <div class="form-group">
        <label for="c-v_src" class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button id="plupload-third" class="btn btn-danger plupload" data-multiple="true" data-input-id="c-v_src" ><i class="fa fa-upload"></i> 上传视频到云 </button>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('V_title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-v_title" class="form-control" name="row[v_title]" type="text">
        </div>
    </div>
    
    <div class="form-group">
           

        <label class="control-label col-xs-12 col-sm-2">{:__('V_img')}:</label>
        <div class="col-xs-12 col-sm-8">
                <div class="input-group">
                    <input id="c-v_img" class="form-control" size="50" name="row[v_img]" type="text" value="">
                    <div class="input-group-addon no-border no-padding">
                        <span><button type="button" id="plupload-image" class="btn btn-danger plupload" data-input-id="c-v_img" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                        <span><button type="button" id="fachoose-image" class="btn btn-primary fachoose" data-input-id="c-v_img" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                    </div>
                    <span class="msg-box n-right"></span>
                </div>
                <ul class="row list-inline plupload-preview" id="p-image"></ul>
            </div>
      

    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('V_view_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-v_view_num" class="form-control" name="row[v_view_num]" type="number" value="1">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('V_content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-v_content" class="form-control" name="row[v_content]" type="text">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
